1GB Page Table Support for HVM Guest 3/3
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 6 Apr 2010 06:09:35 +0000 (07:09 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 6 Apr 2010 06:09:35 +0000 (07:09 +0100)
commit6a9ee8cf218b621ebc3d88e621f32cc3f030e742
treecfb54528c106e685721a6c832cdd8341307c89d4
parent270ed5c14abea5f067ce8b6ccb34bd530e94b5f4
1GB Page Table Support for HVM Guest 3/3

This patch adds a new field in hvm to indicate 1gb is supported by
CPU.  In addition, users can turn 1GB feature on/off using a Xen
option ("hap_1gb", default is off). Per Tim's suggestion, I also add
an assertion check in shadow/common.c file to prevent affecting shadow
code.

Signed-off-by: Wei Huang <wei.huang2@amd.com>
Acked-by: Dongxiao Xu <dongxiao.xu@intel.com>
Acked-by: Tim Deegan <tim.deegan@citrix.com>
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/mm/p2m.c
xen/arch/x86/mm/shadow/common.c
xen/include/asm-x86/hvm/hvm.h